QUERY.FILENAME_GET Function

Syntax

Filename as C = .FILENAME_GET()

Arguments

Description

The .FILENAME_GET() method returns the full Filename, including drive and path of the query file referenced by the pointer.

Example

This finds the name of the query list file.

dim tbl as P
dim rec as C
dim nrecs as N
dim qry as P
rec = "11111"
tbl = table.open("test")
query.filter = "rec = left(ID,5)"
qry = tbl.query_create()
? qry.filename_get()
= "C:\Documents and Settings\ELarrabee\Local Settings\Temp\$$120A00.MPX"

See Also